package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.OrderDeliveryEntity;

/**
 * 采购订单交货安排Service接口
 *
 * @author cxl
 * @date 2024-06-06
 */
public interface IOrderDeliveryService extends IService<OrderDeliveryEntity> {
    /**
     * 查询采购订单交货安排
     *
     * @param id 采购订单交货安排ID
     * @return 采购订单交货安排
     */
    public OrderDeliveryEntity selectOrderDeliveryEntityById(String id);

    /**
     * 查询采购订单交货安排列表
     *
     * @param orderDeliveryEntity 采购订单交货安排
     * @return 采购订单交货安排集合
     */
    public List<OrderDeliveryEntity> selectOrderDeliveryEntityList(OrderDeliveryEntity orderDeliveryEntity);

    /**
     * 新增采购订单交货安排
     *
     * @param orderDeliveryEntity 采购订单交货安排
     * @return 结果
     */
    public int insertOrderDeliveryEntity(OrderDeliveryEntity orderDeliveryEntity);

    /**
     * 修改采购订单交货安排
     *
     * @param orderDeliveryEntity 采购订单交货安排
     * @return 结果
     */
    public int updateOrderDeliveryEntity(OrderDeliveryEntity orderDeliveryEntity);

    /**
     * 批量删除采购订单交货安排
     *
     * @param ids 需要删除的采购订单交货安排ID
     * @return 结果
     */
    public int deleteOrderDeliveryEntityByIds(String[] ids);

    /**
     * 删除采购订单交货安排信息
     *
     * @param id 采购订单交货安排ID
     * @return 结果
     */
    public int deleteOrderDeliveryEntityById(String id);
}
